package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car car=new Car("奥迪","黑色",100);
        car.start();
        car.run();
        car.stop();

        Car car1=new Car();
        car1.brand="奔驰";
        car1.color="黑";
        car1.price=100;
        car1.start();
        car1.run();
        car1.stop();

        Car car2=new Car("大众","黑",100);
        car2.start();
        car2.run();
        car2.stop();
    }
}
